package com.example.train.service;

import com.example.train.model.SysRole;

import java.util.List;

public interface SysRoleService {


    int deleteByPrimaryKey(Long id);

    Integer insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

    SysRole selectByName(String name);

    List<SysRole> selectByAdminID(Long id);

    List<SysRole> selectAll(Integer pageNum, Integer pageSize);

}
